package cn.iocoder.yudao.module.member.service.project;

import cn.iocoder.yudao.module.member.dal.dataobject.project.AppProjectDO;
import cn.iocoder.yudao.module.member.dal.mysql.project.AppProjectMapper;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;
import java.util.List;

/**
 * 理疗项目 Service 实现类
 *
 * @author 理疗系统
 */
@Service
@Validated
public class AppProjectServiceImpl implements AppProjectService {

    @Resource
    private AppProjectMapper appProjectMapper;


    @Override
    public List<AppProjectDO> getProjectList() {
        List<AppProjectDO> appProjectDOS = appProjectMapper.selectList();
        appProjectDOS.forEach(item -> {
            item.setNumber(0);
        });
        return appProjectDOS;
    }
}
